﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KalitimAnlama
{

    class BaseClass
    {
        public BaseClass()
        {
            Console.WriteLine("BaseClass object created");
        }
    }
    class Child:BaseClass
    {
        public Child()
        {
            Console.WriteLine("Child class object is created");
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            Child mychild = new Child();
            /*
             Output:
             * BaseClass object created
             * Child class object is created
             */
        }
    }
}
